package com.qfjy.project.meeting;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;

/**
 * @ClassName TestController
 * @Description TODO
 * @Author guoweixin
 * @Date 2022/12/5
 * @Version 1.0
 */
@Controller
@Slf4j
@RequestMapping("test")
public class TestController {

    /**
     * 进入会议发单页面
     */
    @GetMapping("meetingPub")
    public String meetingPubAdd(HttpServletRequest request, @RequestParam("uid") int uid){
        request.setAttribute("uid",uid);
        return "meetingPub/addMeetingPub";
    }
}
